package cn.getech.data.metadata.entity.meta;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CollectionTaskExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CollectionTaskExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTaskNameIsNull() {
            addCriterion("task_name is null");
            return (Criteria) this;
        }

        public Criteria andTaskNameIsNotNull() {
            addCriterion("task_name is not null");
            return (Criteria) this;
        }

        public Criteria andTaskNameEqualTo(String value) {
            addCriterion("task_name =", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotEqualTo(String value) {
            addCriterion("task_name <>", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameGreaterThan(String value) {
            addCriterion("task_name >", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameGreaterThanOrEqualTo(String value) {
            addCriterion("task_name >=", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLessThan(String value) {
            addCriterion("task_name <", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLessThanOrEqualTo(String value) {
            addCriterion("task_name <=", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLike(String value) {
            addCriterion("task_name like", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotLike(String value) {
            addCriterion("task_name not like", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameIn(List<String> values) {
            addCriterion("task_name in", values, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotIn(List<String> values) {
            addCriterion("task_name not in", values, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameBetween(String value1, String value2) {
            addCriterion("task_name between", value1, value2, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotBetween(String value1, String value2) {
            addCriterion("task_name not between", value1, value2, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNull() {
            addCriterion("task_type is null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNotNull() {
            addCriterion("task_type is not null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeEqualTo(Integer value) {
            addCriterion("task_type =", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotEqualTo(Integer value) {
            addCriterion("task_type <>", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThan(Integer value) {
            addCriterion("task_type >", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_type >=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThan(Integer value) {
            addCriterion("task_type <", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThanOrEqualTo(Integer value) {
            addCriterion("task_type <=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIn(List<Integer> values) {
            addCriterion("task_type in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotIn(List<Integer> values) {
            addCriterion("task_type not in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeBetween(Integer value1, Integer value2) {
            addCriterion("task_type between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("task_type not between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeIsNull() {
            addCriterion("source_type is null");
            return (Criteria) this;
        }

        public Criteria andSourceTypeIsNotNull() {
            addCriterion("source_type is not null");
            return (Criteria) this;
        }

        public Criteria andSourceTypeEqualTo(String value) {
            addCriterion("source_type =", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeNotEqualTo(String value) {
            addCriterion("source_type <>", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeGreaterThan(String value) {
            addCriterion("source_type >", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeGreaterThanOrEqualTo(String value) {
            addCriterion("source_type >=", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeLessThan(String value) {
            addCriterion("source_type <", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeLessThanOrEqualTo(String value) {
            addCriterion("source_type <=", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeLike(String value) {
            addCriterion("source_type like", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeNotLike(String value) {
            addCriterion("source_type not like", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeIn(List<String> values) {
            addCriterion("source_type in", values, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeNotIn(List<String> values) {
            addCriterion("source_type not in", values, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeBetween(String value1, String value2) {
            addCriterion("source_type between", value1, value2, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeNotBetween(String value1, String value2) {
            addCriterion("source_type not between", value1, value2, "sourceType");
            return (Criteria) this;
        }

        public Criteria andOwnSystemIsNull() {
            addCriterion("own_system is null");
            return (Criteria) this;
        }

        public Criteria andOwnSystemIsNotNull() {
            addCriterion("own_system is not null");
            return (Criteria) this;
        }

        public Criteria andOwnSystemEqualTo(Integer value) {
            addCriterion("own_system =", value, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemNotEqualTo(Integer value) {
            addCriterion("own_system <>", value, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemGreaterThan(Integer value) {
            addCriterion("own_system >", value, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemGreaterThanOrEqualTo(Integer value) {
            addCriterion("own_system >=", value, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemLessThan(Integer value) {
            addCriterion("own_system <", value, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemLessThanOrEqualTo(Integer value) {
            addCriterion("own_system <=", value, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemIn(List<Integer> values) {
            addCriterion("own_system in", values, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemNotIn(List<Integer> values) {
            addCriterion("own_system not in", values, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemBetween(Integer value1, Integer value2) {
            addCriterion("own_system between", value1, value2, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemNotBetween(Integer value1, Integer value2) {
            addCriterion("own_system not between", value1, value2, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnMduleIsNull() {
            addCriterion("own_mdule is null");
            return (Criteria) this;
        }

        public Criteria andOwnMduleIsNotNull() {
            addCriterion("own_mdule is not null");
            return (Criteria) this;
        }

        public Criteria andOwnMduleEqualTo(Integer value) {
            addCriterion("own_mdule =", value, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleNotEqualTo(Integer value) {
            addCriterion("own_mdule <>", value, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleGreaterThan(Integer value) {
            addCriterion("own_mdule >", value, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleGreaterThanOrEqualTo(Integer value) {
            addCriterion("own_mdule >=", value, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLessThan(Integer value) {
            addCriterion("own_mdule <", value, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLessThanOrEqualTo(Integer value) {
            addCriterion("own_mdule <=", value, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleIn(List<Integer> values) {
            addCriterion("own_mdule in", values, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleNotIn(List<Integer> values) {
            addCriterion("own_mdule not in", values, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleBetween(Integer value1, Integer value2) {
            addCriterion("own_mdule between", value1, value2, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleNotBetween(Integer value1, Integer value2) {
            addCriterion("own_mdule not between", value1, value2, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLeaderIsNull() {
            addCriterion("own_mdule_leader is null");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLeaderIsNotNull() {
            addCriterion("own_mdule_leader is not null");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLeaderEqualTo(Long value) {
            addCriterion("own_mdule_leader =", value, "ownMduleLeader");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLeaderNotEqualTo(Long value) {
            addCriterion("own_mdule_leader <>", value, "ownMduleLeader");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLeaderGreaterThan(Long value) {
            addCriterion("own_mdule_leader >", value, "ownMduleLeader");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLeaderGreaterThanOrEqualTo(Long value) {
            addCriterion("own_mdule_leader >=", value, "ownMduleLeader");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLeaderLessThan(Long value) {
            addCriterion("own_mdule_leader <", value, "ownMduleLeader");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLeaderLessThanOrEqualTo(Long value) {
            addCriterion("own_mdule_leader <=", value, "ownMduleLeader");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLeaderIn(List<Long> values) {
            addCriterion("own_mdule_leader in", values, "ownMduleLeader");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLeaderNotIn(List<Long> values) {
            addCriterion("own_mdule_leader not in", values, "ownMduleLeader");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLeaderBetween(Long value1, Long value2) {
            addCriterion("own_mdule_leader between", value1, value2, "ownMduleLeader");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLeaderNotBetween(Long value1, Long value2) {
            addCriterion("own_mdule_leader not between", value1, value2, "ownMduleLeader");
            return (Criteria) this;
        }

        public Criteria andTaskLeaderIsNull() {
            addCriterion("task_leader is null");
            return (Criteria) this;
        }

        public Criteria andTaskLeaderIsNotNull() {
            addCriterion("task_leader is not null");
            return (Criteria) this;
        }

        public Criteria andTaskLeaderEqualTo(Long value) {
            addCriterion("task_leader =", value, "taskLeader");
            return (Criteria) this;
        }

        public Criteria andTaskLeaderNotEqualTo(Long value) {
            addCriterion("task_leader <>", value, "taskLeader");
            return (Criteria) this;
        }

        public Criteria andTaskLeaderGreaterThan(Long value) {
            addCriterion("task_leader >", value, "taskLeader");
            return (Criteria) this;
        }

        public Criteria andTaskLeaderGreaterThanOrEqualTo(Long value) {
            addCriterion("task_leader >=", value, "taskLeader");
            return (Criteria) this;
        }

        public Criteria andTaskLeaderLessThan(Long value) {
            addCriterion("task_leader <", value, "taskLeader");
            return (Criteria) this;
        }

        public Criteria andTaskLeaderLessThanOrEqualTo(Long value) {
            addCriterion("task_leader <=", value, "taskLeader");
            return (Criteria) this;
        }

        public Criteria andTaskLeaderIn(List<Long> values) {
            addCriterion("task_leader in", values, "taskLeader");
            return (Criteria) this;
        }

        public Criteria andTaskLeaderNotIn(List<Long> values) {
            addCriterion("task_leader not in", values, "taskLeader");
            return (Criteria) this;
        }

        public Criteria andTaskLeaderBetween(Long value1, Long value2) {
            addCriterion("task_leader between", value1, value2, "taskLeader");
            return (Criteria) this;
        }

        public Criteria andTaskLeaderNotBetween(Long value1, Long value2) {
            addCriterion("task_leader not between", value1, value2, "taskLeader");
            return (Criteria) this;
        }

        public Criteria andTaskRunLeaderIsNull() {
            addCriterion("task_run_leader is null");
            return (Criteria) this;
        }

        public Criteria andTaskRunLeaderIsNotNull() {
            addCriterion("task_run_leader is not null");
            return (Criteria) this;
        }

        public Criteria andTaskRunLeaderEqualTo(Long value) {
            addCriterion("task_run_leader =", value, "taskRunLeader");
            return (Criteria) this;
        }

        public Criteria andTaskRunLeaderNotEqualTo(Long value) {
            addCriterion("task_run_leader <>", value, "taskRunLeader");
            return (Criteria) this;
        }

        public Criteria andTaskRunLeaderGreaterThan(Long value) {
            addCriterion("task_run_leader >", value, "taskRunLeader");
            return (Criteria) this;
        }

        public Criteria andTaskRunLeaderGreaterThanOrEqualTo(Long value) {
            addCriterion("task_run_leader >=", value, "taskRunLeader");
            return (Criteria) this;
        }

        public Criteria andTaskRunLeaderLessThan(Long value) {
            addCriterion("task_run_leader <", value, "taskRunLeader");
            return (Criteria) this;
        }

        public Criteria andTaskRunLeaderLessThanOrEqualTo(Long value) {
            addCriterion("task_run_leader <=", value, "taskRunLeader");
            return (Criteria) this;
        }

        public Criteria andTaskRunLeaderIn(List<Long> values) {
            addCriterion("task_run_leader in", values, "taskRunLeader");
            return (Criteria) this;
        }

        public Criteria andTaskRunLeaderNotIn(List<Long> values) {
            addCriterion("task_run_leader not in", values, "taskRunLeader");
            return (Criteria) this;
        }

        public Criteria andTaskRunLeaderBetween(Long value1, Long value2) {
            addCriterion("task_run_leader between", value1, value2, "taskRunLeader");
            return (Criteria) this;
        }

        public Criteria andTaskRunLeaderNotBetween(Long value1, Long value2) {
            addCriterion("task_run_leader not between", value1, value2, "taskRunLeader");
            return (Criteria) this;
        }

        public Criteria andRunStatusIsNull() {
            addCriterion("run_status is null");
            return (Criteria) this;
        }

        public Criteria andRunStatusIsNotNull() {
            addCriterion("run_status is not null");
            return (Criteria) this;
        }

        public Criteria andRunStatusEqualTo(Integer value) {
            addCriterion("run_status =", value, "runStatus");
            return (Criteria) this;
        }

        public Criteria andRunStatusNotEqualTo(Integer value) {
            addCriterion("run_status <>", value, "runStatus");
            return (Criteria) this;
        }

        public Criteria andRunStatusGreaterThan(Integer value) {
            addCriterion("run_status >", value, "runStatus");
            return (Criteria) this;
        }

        public Criteria andRunStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("run_status >=", value, "runStatus");
            return (Criteria) this;
        }

        public Criteria andRunStatusLessThan(Integer value) {
            addCriterion("run_status <", value, "runStatus");
            return (Criteria) this;
        }

        public Criteria andRunStatusLessThanOrEqualTo(Integer value) {
            addCriterion("run_status <=", value, "runStatus");
            return (Criteria) this;
        }

        public Criteria andRunStatusIn(List<Integer> values) {
            addCriterion("run_status in", values, "runStatus");
            return (Criteria) this;
        }

        public Criteria andRunStatusNotIn(List<Integer> values) {
            addCriterion("run_status not in", values, "runStatus");
            return (Criteria) this;
        }

        public Criteria andRunStatusBetween(Integer value1, Integer value2) {
            addCriterion("run_status between", value1, value2, "runStatus");
            return (Criteria) this;
        }

        public Criteria andRunStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("run_status not between", value1, value2, "runStatus");
            return (Criteria) this;
        }

        public Criteria andRunEnableIsNull() {
            addCriterion("run_enable is null");
            return (Criteria) this;
        }

        public Criteria andRunEnableIsNotNull() {
            addCriterion("run_enable is not null");
            return (Criteria) this;
        }

        public Criteria andRunEnableEqualTo(Integer value) {
            addCriterion("run_enable =", value, "runEnable");
            return (Criteria) this;
        }

        public Criteria andRunEnableNotEqualTo(Integer value) {
            addCriterion("run_enable <>", value, "runEnable");
            return (Criteria) this;
        }

        public Criteria andRunEnableGreaterThan(Integer value) {
            addCriterion("run_enable >", value, "runEnable");
            return (Criteria) this;
        }

        public Criteria andRunEnableGreaterThanOrEqualTo(Integer value) {
            addCriterion("run_enable >=", value, "runEnable");
            return (Criteria) this;
        }

        public Criteria andRunEnableLessThan(Integer value) {
            addCriterion("run_enable <", value, "runEnable");
            return (Criteria) this;
        }

        public Criteria andRunEnableLessThanOrEqualTo(Integer value) {
            addCriterion("run_enable <=", value, "runEnable");
            return (Criteria) this;
        }

        public Criteria andRunEnableIn(List<Integer> values) {
            addCriterion("run_enable in", values, "runEnable");
            return (Criteria) this;
        }

        public Criteria andRunEnableNotIn(List<Integer> values) {
            addCriterion("run_enable not in", values, "runEnable");
            return (Criteria) this;
        }

        public Criteria andRunEnableBetween(Integer value1, Integer value2) {
            addCriterion("run_enable between", value1, value2, "runEnable");
            return (Criteria) this;
        }

        public Criteria andRunEnableNotBetween(Integer value1, Integer value2) {
            addCriterion("run_enable not between", value1, value2, "runEnable");
            return (Criteria) this;
        }

        public Criteria andSourceIdIsNull() {
            addCriterion("source_id is null");
            return (Criteria) this;
        }

        public Criteria andSourceIdIsNotNull() {
            addCriterion("source_id is not null");
            return (Criteria) this;
        }

        public Criteria andSourceIdEqualTo(Integer value) {
            addCriterion("source_id =", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdNotEqualTo(Integer value) {
            addCriterion("source_id <>", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdGreaterThan(Integer value) {
            addCriterion("source_id >", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("source_id >=", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdLessThan(Integer value) {
            addCriterion("source_id <", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdLessThanOrEqualTo(Integer value) {
            addCriterion("source_id <=", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdIn(List<Integer> values) {
            addCriterion("source_id in", values, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdNotIn(List<Integer> values) {
            addCriterion("source_id not in", values, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdBetween(Integer value1, Integer value2) {
            addCriterion("source_id between", value1, value2, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("source_id not between", value1, value2, "sourceId");
            return (Criteria) this;
        }

        public Criteria andRunTypeIsNull() {
            addCriterion("run_type is null");
            return (Criteria) this;
        }

        public Criteria andRunTypeIsNotNull() {
            addCriterion("run_type is not null");
            return (Criteria) this;
        }

        public Criteria andRunTypeEqualTo(Integer value) {
            addCriterion("run_type =", value, "runType");
            return (Criteria) this;
        }

        public Criteria andRunTypeNotEqualTo(Integer value) {
            addCriterion("run_type <>", value, "runType");
            return (Criteria) this;
        }

        public Criteria andRunTypeGreaterThan(Integer value) {
            addCriterion("run_type >", value, "runType");
            return (Criteria) this;
        }

        public Criteria andRunTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("run_type >=", value, "runType");
            return (Criteria) this;
        }

        public Criteria andRunTypeLessThan(Integer value) {
            addCriterion("run_type <", value, "runType");
            return (Criteria) this;
        }

        public Criteria andRunTypeLessThanOrEqualTo(Integer value) {
            addCriterion("run_type <=", value, "runType");
            return (Criteria) this;
        }

        public Criteria andRunTypeIn(List<Integer> values) {
            addCriterion("run_type in", values, "runType");
            return (Criteria) this;
        }

        public Criteria andRunTypeNotIn(List<Integer> values) {
            addCriterion("run_type not in", values, "runType");
            return (Criteria) this;
        }

        public Criteria andRunTypeBetween(Integer value1, Integer value2) {
            addCriterion("run_type between", value1, value2, "runType");
            return (Criteria) this;
        }

        public Criteria andRunTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("run_type not between", value1, value2, "runType");
            return (Criteria) this;
        }

        public Criteria andTaskConfigIsNull() {
            addCriterion("task_config is null");
            return (Criteria) this;
        }

        public Criteria andTaskConfigIsNotNull() {
            addCriterion("task_config is not null");
            return (Criteria) this;
        }

        public Criteria andTaskConfigEqualTo(String value) {
            addCriterion("task_config =", value, "taskConfig");
            return (Criteria) this;
        }

        public Criteria andTaskConfigNotEqualTo(String value) {
            addCriterion("task_config <>", value, "taskConfig");
            return (Criteria) this;
        }

        public Criteria andTaskConfigGreaterThan(String value) {
            addCriterion("task_config >", value, "taskConfig");
            return (Criteria) this;
        }

        public Criteria andTaskConfigGreaterThanOrEqualTo(String value) {
            addCriterion("task_config >=", value, "taskConfig");
            return (Criteria) this;
        }

        public Criteria andTaskConfigLessThan(String value) {
            addCriterion("task_config <", value, "taskConfig");
            return (Criteria) this;
        }

        public Criteria andTaskConfigLessThanOrEqualTo(String value) {
            addCriterion("task_config <=", value, "taskConfig");
            return (Criteria) this;
        }

        public Criteria andTaskConfigLike(String value) {
            addCriterion("task_config like", value, "taskConfig");
            return (Criteria) this;
        }

        public Criteria andTaskConfigNotLike(String value) {
            addCriterion("task_config not like", value, "taskConfig");
            return (Criteria) this;
        }

        public Criteria andTaskConfigIn(List<String> values) {
            addCriterion("task_config in", values, "taskConfig");
            return (Criteria) this;
        }

        public Criteria andTaskConfigNotIn(List<String> values) {
            addCriterion("task_config not in", values, "taskConfig");
            return (Criteria) this;
        }

        public Criteria andTaskConfigBetween(String value1, String value2) {
            addCriterion("task_config between", value1, value2, "taskConfig");
            return (Criteria) this;
        }

        public Criteria andTaskConfigNotBetween(String value1, String value2) {
            addCriterion("task_config not between", value1, value2, "taskConfig");
            return (Criteria) this;
        }

        public Criteria andRunTimeIsNull() {
            addCriterion("run_time is null");
            return (Criteria) this;
        }

        public Criteria andRunTimeIsNotNull() {
            addCriterion("run_time is not null");
            return (Criteria) this;
        }

        public Criteria andRunTimeEqualTo(Date value) {
            addCriterion("run_time =", value, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeNotEqualTo(Date value) {
            addCriterion("run_time <>", value, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeGreaterThan(Date value) {
            addCriterion("run_time >", value, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("run_time >=", value, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeLessThan(Date value) {
            addCriterion("run_time <", value, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeLessThanOrEqualTo(Date value) {
            addCriterion("run_time <=", value, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeIn(List<Date> values) {
            addCriterion("run_time in", values, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeNotIn(List<Date> values) {
            addCriterion("run_time not in", values, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeBetween(Date value1, Date value2) {
            addCriterion("run_time between", value1, value2, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeNotBetween(Date value1, Date value2) {
            addCriterion("run_time not between", value1, value2, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunPlanIsNull() {
            addCriterion("run_plan is null");
            return (Criteria) this;
        }

        public Criteria andRunPlanIsNotNull() {
            addCriterion("run_plan is not null");
            return (Criteria) this;
        }

        public Criteria andRunPlanEqualTo(String value) {
            addCriterion("run_plan =", value, "runPlan");
            return (Criteria) this;
        }

        public Criteria andRunPlanNotEqualTo(String value) {
            addCriterion("run_plan <>", value, "runPlan");
            return (Criteria) this;
        }

        public Criteria andRunPlanGreaterThan(String value) {
            addCriterion("run_plan >", value, "runPlan");
            return (Criteria) this;
        }

        public Criteria andRunPlanGreaterThanOrEqualTo(String value) {
            addCriterion("run_plan >=", value, "runPlan");
            return (Criteria) this;
        }

        public Criteria andRunPlanLessThan(String value) {
            addCriterion("run_plan <", value, "runPlan");
            return (Criteria) this;
        }

        public Criteria andRunPlanLessThanOrEqualTo(String value) {
            addCriterion("run_plan <=", value, "runPlan");
            return (Criteria) this;
        }

        public Criteria andRunPlanLike(String value) {
            addCriterion("run_plan like", value, "runPlan");
            return (Criteria) this;
        }

        public Criteria andRunPlanNotLike(String value) {
            addCriterion("run_plan not like", value, "runPlan");
            return (Criteria) this;
        }

        public Criteria andRunPlanIn(List<String> values) {
            addCriterion("run_plan in", values, "runPlan");
            return (Criteria) this;
        }

        public Criteria andRunPlanNotIn(List<String> values) {
            addCriterion("run_plan not in", values, "runPlan");
            return (Criteria) this;
        }

        public Criteria andRunPlanBetween(String value1, String value2) {
            addCriterion("run_plan between", value1, value2, "runPlan");
            return (Criteria) this;
        }

        public Criteria andRunPlanNotBetween(String value1, String value2) {
            addCriterion("run_plan not between", value1, value2, "runPlan");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("create_user is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("create_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(Long value) {
            addCriterion("create_user =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(Long value) {
            addCriterion("create_user <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(Long value) {
            addCriterion("create_user >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(Long value) {
            addCriterion("create_user >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(Long value) {
            addCriterion("create_user <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(Long value) {
            addCriterion("create_user <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<Long> values) {
            addCriterion("create_user in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<Long> values) {
            addCriterion("create_user not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(Long value1, Long value2) {
            addCriterion("create_user between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(Long value1, Long value2) {
            addCriterion("create_user not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(Long value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(Long value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(Long value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(Long value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(Long value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(Long value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<Long> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<Long> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(Long value1, Long value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(Long value1, Long value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(Integer value) {
            addCriterion("delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(Integer value) {
            addCriterion("delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(Integer value) {
            addCriterion("delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(Integer value) {
            addCriterion("delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(Integer value) {
            addCriterion("delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<Integer> values) {
            addCriterion("delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<Integer> values) {
            addCriterion("delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}